package com.richmond.data;

/**
 * User: csavard
 * Date: 12-08-06
 * Time: 17:57
 */
public class TimeRecord {
	private String name;
	private long workerNo;
	private String code;
	private String codeDescription;
	private float bonus;
	private float regular;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getWorkerNo() {
		return workerNo;
	}

	public void setWorkerNo(long workerNo) {
		this.workerNo = workerNo;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCodeDescription() {
		return codeDescription;
	}

	public void setCodeDescription(String codeDescription) {
		this.codeDescription = codeDescription;
	}

	public float getBonus() {
		return bonus;
	}

	public void setBonus(float bonus) {
		this.bonus = bonus;
	}

	public float getRegular() {
		return regular;
	}

	public void setRegular(float regular) {
		this.regular = regular;
	}


	@Override
	public String toString() {
		return getName() + ", no:" + getWorkerNo() + ", code: " + getCode() + ", bonus = " + bonus + ", regulier = " + getRegular();

	}
}
